import { DeptDto } from "./dept.dto";
import { GroupDto } from "./group.dto";
import { MenuDto } from "./menu.dto";

export class RoleDto {
    public roleId!: number;
    public roleName!: string;
    public roleKey!: string;
    public enabled!: boolean;
    public dataScope?: number;

    public dataScopeName?: string;

    public clientId!: string;
    public clientName!: string;
    public remark?: string;

    public menus: MenuDto[] = [];
    public depts: DeptDto[] = [];
    public groups: GroupDto[] = [];
}